﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>AlocacaoFull</title>
    <link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/css")" rel="stylesheet" type="text/css" />
    <link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/themes/base/css")" rel="stylesheet" type="text/css" />
    <script src="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Scripts/js")"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.core.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/themes/base/jquery.ui.datepicker.css")" rel="stylesheet"  type="text/css" />
        <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
        <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.fn.gantt.js")"></script>
<script type="text/javascript">
        <!--
    jQuery(function () {
        var dataPath = location.href.substring(0, location.href.lastIndexOf('/') + 1);
        $(".gantt").gantt({
            //source: dataPath + '@Url.Action("getAlocacao", "Alocacao")',
            source: '@Url.Action("getAlocacao", "Alocacao")',
            months: [
							    "Janeiro",
							    "Fevereiro",
							    "Março",
							    "Abril",
							    "Maio",
							    "Junho",
							    "Julho",
							    "Agosto",
							    "Setembro",
							    "Outubro",
							    "Novembro",
							    "Dezembro"
						    ],
            dow: [
						    "D", "S", "T", "Q", "Q", "S", "S"],
            navigate: 'scroll',
            scale: 'days',
            maxScale: 'days',
            minScale: 'hours',
            waitText: 'Carregando Alocações',
            itemsPerPage: 50
        });
    });
    -->
</script>

</head>
<body>
    
<h2>Alocação</h2>

<div class="gantt" />

</body>
</html>
